package cn.ad.param;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

public class PubSiteParam {
	
	/**
	 * ID
	 */
	private Integer id;
	
	/**
	 * 供应商标识，对应supplier.id
	 */
	private Integer supplierId;
	/**
	 * 媒体名称
	 */
	@NotNull
	@Max(200)
	private String name;
	/**
	 * 媒体网站名称
	 */
	private String site;
	
	/**
	 * 媒体承载操作系统类型，0：未知,  1：android, 2：ios,  3：windows
	 */
	private Integer osType;
	
	/**
	 * 媒体分类
	 */
	@NotNull
	private int appClassId;
	
	/**
	 * 备注信息
	 */
	@Max(512)
	private String description;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSite() {
		return site;
	}

	public void setSite(String site) {
		this.site = site;
	}

	public int getAppClassId() {
		return appClassId;
	}

	public void setAppClassId(int appClassId) {
		this.appClassId = appClassId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(Integer supplierId) {
		this.supplierId = supplierId;
	}

	public Integer getOsType() {
		return osType;
	}

	public void setOsType(Integer osType) {
		this.osType = osType;
	}
	
}
